package com.bl.weilan.service.biz.companyfinancing;

import com.bl.weilan.dao.model.CompanyFinancingEntity;
import com.bl.weilan.service.vo.DelBody;
import com.bl.weilan.service.vo.DelListBody;
import com.bl.weilan.service.vo.companyfinancing.CompanyFinancingAddVo;
import com.bl.weilan.service.vo.companyfinancing.CompanyFinancingListVo;
import com.bl.weilan.service.vo.companyfinancing.CompanyFinancingModVo;
import org.springframework.data.domain.Pageable;

public interface CompanyFinancingService {
    //通过id查询融资详情
    CompanyFinancingEntity getCompanyFinancingById(String companyfinancingId);
    //查询融资列表
    CompanyFinancingListVo getCompanyFinancingLists(String companyId, Pageable pageable );
    //发布融资信息
    void addCompanyFinancing(CompanyFinancingAddVo companyfinancingAddVo);
    // manager 删除单条融资信息
    void del(DelBody id);
    //manager 批量删除融资
    void delList(DelListBody idList);
    //修改融资信息
    void modify(CompanyFinancingModVo companyfinancingModVo);

    // 获取当前公司当年融资金额
    float getCompanyFinanceThisYear(String companyId);

}
